from django.urls import path

from workflow import apis as workflow_api


urlpatterns = [
    path('work/', workflow_api.WorkApi.as_view()),
    path('work/base/info/', workflow_api.WorkBaseInfoApi.as_view()),
    path('work/list/', workflow_api.ListWorkApi.as_view()),
    path('worker/list/', workflow_api.ListWorkerApi.as_view()),
    path('work/create/', workflow_api.CreateWorkApi.as_view()),
    path('work/update/', workflow_api.UpdateWorkApi.as_view()),
    path('work/delete/', workflow_api.DeleteWorkApi.as_view()),
    path('work/run/', workflow_api.RunWorkApi.as_view()),
    path('worker/delete/', workflow_api.DeleteWorkerApi.as_view()),
]
